<template>
    <div class="body">
        <div class="box">
            <img class="img" src="/images/login.png">
            <form action="">
                <div class="row">
                    <img class="icon" src="/icons/icon.png">
                    <span>校务管理系统</span>
                </div>
                <el-input
                    v-model="input"
                    style="width: 240px"
                    placeholder="Please input"
                    clearable
                />
                <el-button type="primary" @click="onSubmit">登录</el-button>
            </form>
        </div>
    </div>    
</template>
  
<script lang="ts" setup>
    import { ref } from 'vue'

    const input = ref('')

    const onSubmit = () => {
    console.log('submit!')
    }
</script>

<style scoped lang="scss">
    .body{
        width: 1536px;
        height: 729px;
        // width: 100ph;
        // height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f0f5f5;
        .box{

        }

        
    }
</style>